<?php

class ZFDulcet_Form_Element_Button_Cancel extends ZFDulcet_Form_Element_Button {

	public function __construct($spec, $options = null) {
		if((is_array($options)) and (isset($options['btcolor']))) {
			$btcolor = $options['btcolor'];
			unset($options['btcolor']);
		}
		else {
			$btcolor = 'red';
		}
		
		parent::__construct($spec, $options);
		
		ZFKiller_Form_Element::addAttrib($this, 'class', $btcolor);
	}

}